package com.shenyong.entity;

/**
 * Create By:qiang
 * Date: 2019/11/25 15:39
 * 文件说明: Relay
 */
public class Relay {
    private int relay_id;// 转发编号
    private int relay_userId;// 转发用户编号
    private int relay_articleId;// 转发文章编号
    private String relay_comment;// 转发评论
    private int relay_articleUserId;// 转发文章来源用户编号
    private String relay_time;// 转发时间
    private String relay_url;// 转发文章来源地址

    public Relay() {
    }

    public Relay(int relay_id, int relay_userId, int relay_articleId, String relay_comment, int relay_articleUserId, String relay_time, String relay_url) {
        this.relay_id = relay_id;
        this.relay_userId = relay_userId;
        this.relay_articleId = relay_articleId;
        this.relay_comment = relay_comment;
        this.relay_articleUserId = relay_articleUserId;
        this.relay_time = relay_time;
        this.relay_url = relay_url;
    }

    public int getRelay_id() {
        return relay_id;
    }

    public void setRelay_id(int relay_id) {
        this.relay_id = relay_id;
    }

    public int getRelay_userId() {
        return relay_userId;
    }

    public void setRelay_userId(int relay_userId) {
        this.relay_userId = relay_userId;
    }

    public int getRelay_articleId() {
        return relay_articleId;
    }

    public void setRelay_articleId(int relay_articleId) {
        this.relay_articleId = relay_articleId;
    }

    public String getRelay_comment() {
        return relay_comment;
    }

    public void setRelay_comment(String relay_comment) {
        this.relay_comment = relay_comment;
    }

    public int getRelay_articleUserId() {
        return relay_articleUserId;
    }

    public void setRelay_articleUserId(int relay_articleUserId) {
        this.relay_articleUserId = relay_articleUserId;
    }

    public String getRelay_time() {
        return relay_time;
    }

    public void setRelay_time(String relay_time) {
        this.relay_time = relay_time;
    }

    public String getRelay_url() {
        return relay_url;
    }

    public void setRelay_url(String relay_url) {
        this.relay_url = relay_url;
    }

    @Override
    public String toString() {
        return "Relay{" +
                "relay_id=" + relay_id +
                ", relay_userId=" + relay_userId +
                ", relay_articleId=" + relay_articleId +
                ", relay_comment='" + relay_comment + '\'' +
                ", relay_articleUserId=" + relay_articleUserId +
                ", relay_time='" + relay_time + '\'' +
                ", relay_url='" + relay_url + '\'' +
                '}';
    }
}
